package com.edu.app.service.impl.wechat.msgroute.impl.MessageHandler;

import com.edu.app.service.impl.wechat.msgroute.WxMpMessageHandler;
import com.edu.app.service.impl.wechat.msgroute.consts.WxConsts;
import com.edu.app.service.impl.wechat.msgroute.session.WxSessionManager;
import com.edu.app.service.sys.wechat.WechatBaseService;


import java.util.Map;

/**
 * Created by qianjia on 15/1/22.
 */
public class QrUnsubscribeHandler implements WxMpMessageHandler {
  @Override
  public Map<String,String> handle(Map<String,String> wxMessage, Map<String, Object> context,
                                   WechatBaseService wxMpService, WxSessionManager sessionManager) {

      System.out.println("unsubscribe event");
      System.out.println(wxMessage.get(WxConsts.MsgField.EventKey));
      System.out.println(wxMessage.get(WxConsts.MsgField.Event));
      System.out.println(wxMessage.get(WxConsts.MsgField.FromUserName));
      return null;

  }

}
